package com.jichangxiu.generator.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.jichangxiu.framework.mapper.BaseMapper;
import com.jichangxiu.generator.entity.po.GenColumn;
import com.jichangxiu.generator.entity.vo.ColumnVo;
import com.jichangxiu.generator.entity.vo.GenColumnVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * GenColumnMapper:
 *
 * @author JiChangXiu
 * @create 2024-06-30 13:31:02
 */
@Mapper
public interface GenColumnMapper extends BaseMapper<GenColumn, GenColumnVo> {

    /**
     * 根据表名查询列信息列表
     *
     * @param nameList 表名列表
     * @return 列信息列表
     */
    @InterceptorIgnore(tenantLine = "true")
    public List<ColumnVo> columnVoListByNames(@Param("nameList") List<String> nameList);

}